Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbox2d.dynamics.contacts
Class ContactSolver

    java.lang.Object
      org.jbox2d.dynamics.contacts.ContactSolver

    public class ContactSolver

extends java.lang.Object

Field Summary
`int` | `m_constraintCount`
`java.util.List<ContactConstraint>` | `m_constraints`
`TimeStep` | `m_step`

Constructor Summary
`ContactSolver(TimeStep step, Contact[] contacts, int contactCount)`

Method Summary
`void` | `finalizeVelocityConstraints()`
`void` | `initVelocityConstraints()`
`boolean` | `solvePositionConstraints(float baumgarte)`
`void` | `solveVelocityConstraints()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### m_step

    public TimeStep m_step

### m_constraints

    public java.util.List<ContactConstraint> m_constraints

### m_constraintCount

    public int m_constraintCount

Constructor Detail

### ContactSolver

    public ContactSolver(TimeStep step,
                         Contact[] contacts,
                         int contactCount)

Method Detail

### initVelocityConstraints

    public void initVelocityConstraints()

### solveVelocityConstraints

    public void solveVelocityConstraints()

### finalizeVelocityConstraints

    public void finalizeVelocityConstraints()

### solvePositionConstraints

    public boolean solvePositionConstraints(float baumgarte)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD